package com.mutouren.modules.datapush.dao;

import java.util.Date;
import java.util.List;

import com.mutouren.common.orm.BaseDao;
import com.mutouren.modules.datapush.base.PushMessage;

public interface PushMessageDao extends BaseDao<PushMessage> {
	public int updateProcessing(PushMessage message);
	public int updateResult(PushMessage message);
	public int updateFinish(PushMessage message);
	public List<PushMessage> selectByCreateTime(Date createTime, int size);
	public List<PushMessage> selectById(long id, int size);
	
	public void insert(List<PushMessage> listMessage);
}
